package com.sparrow.orm;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

import com.sparrow.enums.KEY_TYPE;
@Target(ElementType.METHOD)
@Retention(RetentionPolicy.RUNTIME)
public @interface DBField {
	String FieldName();

	Class<?> FieldType();

	boolean Updateable() default true;

	boolean IsKey() default false;

	KEY_TYPE KeyType() default KEY_TYPE.nokey;

	int UniqueKeyIndex() default -1;
}
